// classes example
#include <iostream>		// manipulacion de E/S

using namespace std;

extern FILE *yyin;


class CRectangle {
    int x, y;
  public:
    void set_values (int,int);
    int area (void);
};

void CRectangle::set_values (int a, int b) {
  x = a;
  y = b;
}

int CRectangle::area (void) {
  return x*y;
}

int main () {

  
  CRectangle rect;
  rect.set_values (3,4);
  cout << "area: " << rect.area() << "\n";
  system("pause");

  cout << "lets play with bison...\n";
 
  yyin = fopen("test.txt","r");

  
  return 0;
}